package com.atguigu.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 一级分类
 */
@Data
public class OneSubject {
    String id;
    String title;
    //一级分类包含多个二级分类
    List<TwoSubject>  children=new ArrayList<>();
}
